package backend;

public class EventDisjunction extends ComplexEvent {

    public EventDisjunction(Event[] e) {
        super(e);
    }

    @Override
    public boolean check() {
        boolean result = false;
        for (Event event : events) {
            if (event.check()) {
                result = true;
            }
        }
        return result;
    }
}
